import request from '@/common/request'

export async function apiGetSiteConfig(): Promise<any> {
  return request({
    url: `/api/app/site/config`,
    method: "GET",
  });
}

export async function apiUpdateSiteConfig(data: any): Promise<any> {
  return request({
    url: `/api/app/site/config`,
    method: "POST",
    data
  });
}
